package com.cxf.windex.entity;

import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "b_meterials")
public class BMeterials {
    /**
     * 素材ID
     */
    @Id
    private String id;

    /**
     * 店铺ID
     */
    @ApiModelProperty(value = "店铺ID")
    @Column(name = "shop_id")
    private Long shopId;

    /**
     * 素材标题
     */
    @ApiModelProperty(value = "素材标题")
    private String title;

    /**
     * 素材文件 
     */
    @ApiModelProperty(value = "素材文件路径")
    private String file;

    /**
     * 类型 0海报 1语音
     */
    @ApiModelProperty(value = "类型0海报 1语音")
    private String type;

    /**
     * 状态 0删除 1正常
     */
    @ApiModelProperty(value = "状态 0删除 1正常")
    private String status;

    /**
     * 创建时间
     */
    @Column(name = "crt_time")
    private Date crtTime;

    /**
     * 创建用户IP
     */
    @Column(name = "crt_host")
    private String crtHost;

    /**
     * 更新时间
     */
    @Column(name = "upd_time")
    private Date updTime;

    /**
     * 更新用户IP
     */
    @Column(name = "upd_host")
    private String updHost;

    /**
     * 内容
     */
    @ApiModelProperty(value = "素材内容")
    private String content;

}